<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2018/6/13
 * Time: 11:45
 */
namespace app\common\model;

use think\Model;
//use traits\model\SoftDelete;

class FortuneRecode extends Model
{
//    use SoftDelete;// 软删除
    protected $table = 'wechat_backup_07_18_14_43_00.app_fortune_recode';

    public function fortune()
    {
        return $this->hasOne('Fortune','frid','id',[],'LEFT')->field('rids,new_rid,frid,time');
    }

}